<template>
	<view class="chulizhong-box">
		<view class="leave-content">
			<view class="leave-content-left">
				<view class="leave-content-left-top">
					<view class="leave-content-name zhengwen1">{{ name }}</view>
					<view class="leave-content-classnumber zhengwen1">学号：{{ id }}</view>
				</view>
				<view class="leave-content-time">
					<view class="leave-tiem zhengwen2">请假时间：（总时长4小时）</view>
					<view class="leave-date zhengwen2">2022-6-9 8:00 至 2022-6-9 21:00</view>
				</view>
			</view>
			<view class="leave-content-right">
				<view class="leave-content-right-box zhengwen1">书记已批准</view>
			</view>
		</view>
		<!-- 以下复制↓↓↓↓ -->
		<view class="leave-content">
			<view class="leave-content-left">
				<view class="leave-content-left-top">
					<view class="leave-content-name zhengwen1">{{ name }}</view>
					<view class="leave-content-classnumber zhengwen1">学号：{{ id }}</view>
				</view>
				<view class="leave-content-time">
					<view class="leave-tiem zhengwen2">请假时间：（总时长4小时）</view>
					<view class="leave-date zhengwen2">2022-6-9 8:00 至 2022-6-9 21:00</view>
				</view>
			</view>
			<view class="leave-content-right">
				<view class="leave-content-right-box zhengwen1">书记已批准</view>
			</view>
		</view>
		<view class="leave-content">
			<view class="leave-content-left">
				<view class="leave-content-left-top">
					<view class="leave-content-name zhengwen1">{{ name }}</view>
					<view class="leave-content-classnumber zhengwen1">学号：{{ id }}</view>
				</view>
				<view class="leave-content-time">
					<view class="leave-tiem zhengwen2">请假时间：（总时长4小时）</view>
					<view class="leave-date zhengwen2">2022-6-9 8:00 至 2022-6-9 21:00</view>
				</view>
			</view>
			<view class="leave-content-right">
				<view class="leave-content-right-box zhengwen1">书记已批准</view>
			</view>
		</view>
		<view class="leave-content">
			<view class="leave-content-left">
				<view class="leave-content-left-top">
					<view class="leave-content-name zhengwen1">{{ name }}</view>
					<view class="leave-content-classnumber zhengwen1">学号：{{ id }}</view>
				</view>
				<view class="leave-content-time">
					<view class="leave-tiem zhengwen2">请假时间：（总时长4小时）</view>
					<view class="leave-date zhengwen2">2022-6-9 8:00 至 2022-6-9 21:00</view>
				</view>
			</view>
			<view class="leave-content-right">
				<view class="leave-content-right-box zhengwen1">书记已批准</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				name:'张三',
				id:'0000001'
			}
		}
		
		
	}
</script>

<style lang="scss">
	@import url(@/static/common.css);
	.chulizhong-box{
		width: 95%;
		margin: 0 auto;
		overflow: hidden;
		.leave-content{
			width: 100%;
			display: flex;
			box-sizing: border-box;
			background-color: #ffffff;
			flex-direction: row;
			align-items: center;
			margin-top: 30rpx;
			padding: 30rpx 0;
			padding-left: 20rpx;
			border-bottom: 1rpx solid #999999;
			.leave-content-left{
				flex: 2;
				display: flex;
				flex-direction: column;
				.leave-content-left-top{
					display: flex;
					flex-direction: row;
					// font-size: 28rpx;
					.leave-content-name{
						margin-right: 30rpx;
					}
				}
				.leave-content-time{
					// font-size: 24rpx;
					display: flex;
					flex-direction: column;
					margin-top: 20rpx;
					.leave-tiem{
						
						margin-bottom: 10rpx;
					}
					.leave-date{
						letter-spacing: 1rpx;
					}
					
				}
				
			}
			.leave-content-right{
				flex: 1;
				.leave-content-right-box{
					width: 200rpx;
					height: 100rpx;
					background-color: #f5f5f5;
					display: flex;
					align-items: center;
					justify-content: center;
					// font-size: 28rpx;
				}
				
			}
		}
	}
	
	
</style>